package com.hxqh.bo.bean;

import java.util.Date;

/**
 * FpsUserTradeLog entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class FpsUserTradeLog implements java.io.Serializable {

	// Fields

	private Long orderRef;
	private Integer userId;
	private Integer policyId;
	private Date tradeDate;
	private Double tradePrice;
	private Integer tradeNum;
	private Integer sell;
	private String futuresCode;
	private Integer automatic;
	private Integer direction;
	private Integer actualTradeNum;
	private Integer finish;
	private Long policyOrderNo;

	// Constructors

	/** default constructor */
	public FpsUserTradeLog() {
	}

	/** minimal constructor */
	public FpsUserTradeLog(Long orderRef, Integer userId, Integer policyId,
			Long policyOrderNo) {
		this.orderRef = orderRef;
		this.userId = userId;
		this.policyId = policyId;
		this.policyOrderNo = policyOrderNo;
	}

	/** full constructor */
	public FpsUserTradeLog(Long orderRef, Integer userId, Integer policyId,
			Date tradeDate, Double tradePrice, Integer tradeNum, Integer sell,
			String futuresCode, Integer automatic, Integer direction,
			Integer actualTradeNum, Integer finish, Long policyOrderNo) {
		this.orderRef = orderRef;
		this.userId = userId;
		this.policyId = policyId;
		this.tradeDate = tradeDate;
		this.tradePrice = tradePrice;
		this.tradeNum = tradeNum;
		this.sell = sell;
		this.futuresCode = futuresCode;
		this.automatic = automatic;
		this.direction = direction;
		this.actualTradeNum = actualTradeNum;
		this.finish = finish;
		this.policyOrderNo = policyOrderNo;
	}

	// Property accessors

	public Long getOrderRef() {
		return this.orderRef;
	}

	public void setOrderRef(Long orderRef) {
		this.orderRef = orderRef;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getPolicyId() {
		return this.policyId;
	}

	public void setPolicyId(Integer policyId) {
		this.policyId = policyId;
	}

	public Date getTradeDate() {
		return this.tradeDate;
	}

	public void setTradeDate(Date tradeDate) {
		this.tradeDate = tradeDate;
	}

	public Double getTradePrice() {
		return this.tradePrice;
	}

	public void setTradePrice(Double tradePrice) {
		this.tradePrice = tradePrice;
	}

	public Integer getTradeNum() {
		return this.tradeNum;
	}

	public void setTradeNum(Integer tradeNum) {
		this.tradeNum = tradeNum;
	}

	public Integer getSell() {
		return this.sell;
	}

	public void setSell(Integer sell) {
		this.sell = sell;
	}

	public String getFuturesCode() {
		return this.futuresCode;
	}

	public void setFuturesCode(String futuresCode) {
		this.futuresCode = futuresCode;
	}

	public Integer getAutomatic() {
		return this.automatic;
	}

	public void setAutomatic(Integer automatic) {
		this.automatic = automatic;
	}

	public Integer getDirection() {
		return this.direction;
	}

	public void setDirection(Integer direction) {
		this.direction = direction;
	}

	public Integer getActualTradeNum() {
		return this.actualTradeNum;
	}

	public void setActualTradeNum(Integer actualTradeNum) {
		this.actualTradeNum = actualTradeNum;
	}

	public Integer getFinish() {
		return this.finish;
	}

	public void setFinish(Integer finish) {
		this.finish = finish;
	}

	public Long getPolicyOrderNo() {
		return this.policyOrderNo;
	}

	public void setPolicyOrderNo(Long policyOrderNo) {
		this.policyOrderNo = policyOrderNo;
	}

}